package pres.lnk.learn.designpattern.h_filter.criteria;

import pres.lnk.learn.designpattern.h_filter.Person;

/**
 * 男性过滤器
 * @Author lnk
 * @Date 2018/2/8
 */
public class CriteriaMale extends AbstractCriteria<Person> {
    @Override
    public boolean meet(Person person) {
        return "Male".equalsIgnoreCase(person.getGender());
    }
}
